<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<ui:composition template="templates/mainTemplate.xhtml">
	<f:metadata>
		<f:event type="preRenderView" listener="#{successBean.check}" />
	</f:metadata>

	<ui:define name="content">
		<div class="box">
			<h2>
				<a id="toggle-success" href="#"><h:outputText
						value="#{msg['success.success']}" /></a>
			</h2>
			<div id="success" class="block paragraphs">
				<p>
					<h:outputFormat value="#{msg['success.notice']}" escape="false">
						<f:param value="#{flash.login}" />
					</h:outputFormat>
				</p>
				<p>
					<h:outputText value="#{msg['success.notice2']}" />
				</p>
			</div>
		</div>
	</ui:define>
</ui:composition>

</html>
